<?php
//echo $fview->isMobile();die()
//echo "<pre>".  print_r($list_tvshow);die();
?> 

<div id="slide_tvshow" class="slide_view">
    <ul class="bxslider">
        <?php
        foreach ($list_tvshow as $item):
            $slide = $fview->isMobile() ? $item["acc_wap"] : $item["acc_web"];
            $href = ' href="' . $baseurl . 'chuong-trinh/' . $item['name_ascii'] . '.html"'
            ?>
            <li>
                <a <?php echo $item['starting'] == 1 ? $href : "" ?>>
                    <div class="logo logo_wap" style="background: url(<?php echo $imgurl . $item['logo'] ?>)"></div>
                    <img src="<?php echo $imgurl . $slide ?>" alt="<?php echo $item['name'] ?>" />
                    <div class="statusbar">
                        <div class="status <?php echo $item['starting'] == 1 ? 'play' : '' ?>">

                            <?php echo $item['starting'] == 1 ? "Đang tương tác" : $item['name'] ?>
                        </div>
                        <div class="info">
                            <div class="logo" style="background: url(<?php echo $imgurl . $item['logo'] ?>)"></div>
                            <div class="schedule">
                                <span class="icon-clock"></span>
                                <?php echo $item['schedule'] ?>
                            </div>
                        </div>
                    </div>
                </a>
            </li>
        <?php endforeach; ?>
    </ul>
</div>